package com.westcom.healthmate.po;

import javax.persistence.*;

@Entity
@Table(name = "third_part_info")
@IdClass(ThridPartInfoMulitPk.class)
public class ThirdPartInfoPo
{
    @Id
    @Column(name="id",nullable = false)
    long userId;

    @Id
    @Column(name="thirdPartName",nullable = false)
    private String thirdPartName;

    @Column(name="account",nullable = false)
    private String account;

    @Column(name="password",nullable = false)
    private String passWord;

    @Column(name="token",nullable = false)
    private String token;

    public ThirdPartInfoPo()
    {}

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getThirdPartName() {
        return thirdPartName;
    }

    public void setThirdPartName(String thirdPartName) {
        this.thirdPartName = thirdPartName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
